package com.yidu.boss.sys.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Broker implements Serializable {
    private String brokerid;

    private String seatid;

    private String brokername;

    private String decs;

    private String remark1;

    private Integer remark2;

    private Date remark3;

    private String seatname;

    private static final long serialVersionUID = 1L;

    public String getBrokerid() {
        return brokerid;
    }

    public void setBrokerid(String brokerid) {
        this.brokerid = brokerid;
    }

    public String getSeatid() {
        return seatid;
    }

    public void setSeatid(String seatid) {
        this.seatid = seatid;
    }

    public String getBrokername() {
        return brokername;
    }

    public void setBrokername(String brokername) {
        this.brokername = brokername;
    }

    public String getDecs() {
        return decs;
    }

    public void setDecs(String decs) {
        this.decs = decs;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public Integer getRemark2() {
        return remark2;
    }

    public void setRemark2(Integer remark2) {
        this.remark2 = remark2;
    }

    public Date getRemark3() {
        return remark3;
    }

    public void setRemark3(Date remark3) {
        this.remark3 = remark3;
    }

    public String getSeatname() {
        return seatname;
    }

    public void setSeatname(String seatname) {
        this.seatname = seatname;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Broker other = (Broker) that;
        return (this.getBrokerid() == null ? other.getBrokerid() == null : this.getBrokerid().equals(other.getBrokerid()))
            && (this.getSeatid() == null ? other.getSeatid() == null : this.getSeatid().equals(other.getSeatid()))
            && (this.getBrokername() == null ? other.getBrokername() == null : this.getBrokername().equals(other.getBrokername()))
            && (this.getDecs() == null ? other.getDecs() == null : this.getDecs().equals(other.getDecs()))
            && (this.getRemark1() == null ? other.getRemark1() == null : this.getRemark1().equals(other.getRemark1()))
            && (this.getRemark2() == null ? other.getRemark2() == null : this.getRemark2().equals(other.getRemark2()))
            && (this.getRemark3() == null ? other.getRemark3() == null : this.getRemark3().equals(other.getRemark3()))
            && (this.getSeatname() == null ? other.getSeatname() == null : this.getSeatname().equals(other.getSeatname()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getBrokerid() == null) ? 0 : getBrokerid().hashCode());
        result = prime * result + ((getSeatid() == null) ? 0 : getSeatid().hashCode());
        result = prime * result + ((getBrokername() == null) ? 0 : getBrokername().hashCode());
        result = prime * result + ((getDecs() == null) ? 0 : getDecs().hashCode());
        result = prime * result + ((getRemark1() == null) ? 0 : getRemark1().hashCode());
        result = prime * result + ((getRemark2() == null) ? 0 : getRemark2().hashCode());
        result = prime * result + ((getRemark3() == null) ? 0 : getRemark3().hashCode());
        result = prime * result + ((getSeatname() == null) ? 0 : getSeatname().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", brokerid=").append(brokerid);
        sb.append(", seatid=").append(seatid);
        sb.append(", brokername=").append(brokername);
        sb.append(", decs=").append(decs);
        sb.append(", remark1=").append(remark1);
        sb.append(", remark2=").append(remark2);
        sb.append(", remark3=").append(remark3);
        sb.append(", seatname=").append(seatname);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}